{extend name="public/base"/}
{block name="body"}
<title>后台管理系统</title>
</head>
<body>
<header class="navbar-wrapper">
	<div class="navbar navbar-fixed-top">
		<div class="container-fluid cl"><a class="logo navbar-logo f-l mr-10 hidden-xs" href="/aboutHui.shtml"></a> <a class="logo navbar-logo-m f-l mr-10 visible-xs" href="/aboutHui.shtml"></a> 
			<span class="logo navbar-slogan f-l mr-10 hidden-xs"></span> 
			<a aria-hidden="false" class="nav-toggle Hui-iconfont visible-xs" href="javascript:;">&#xe667;</a>
			<nav class="nav navbar-nav">
				<ul class="cl">
					<li class="dropDown dropDown_hover">后台管理系统
					</li>
				</ul>
			</nav>
			<nav id="Hui-userbar" class="nav navbar-nav navbar-userbar hidden-xs">
				<ul class="cl">
					<li>欢迎：</li>
					<li class="dropDown dropDown_hover">
						<a href="#" class="dropDown_A">{$username}<i class="Hui-iconfont">&#xe6d5;</i></a>
						<ul class="dropDown-menu menu radius box-shadow">
							<li><a href="{:url('index/cacheFile')}">清除缓存</a></li>
							<li><a href="{:url('index/logFile')}">清除日志</a></li>
							<li><a href="{:url('index/tempFile')}">清除临时文件</a></li>
							<li><a href="{:url('login/loginOut')}">退出</a></li>
						</ul>
					</li>
					<li id="Hui-skin" class="dropDown right dropDown_hover"> <a href="javascript:;" class="dropDown_A" title="换肤"><i class="Hui-iconfont" style="font-size:18px">&#xe62a;</i></a>
						<ul class="dropDown-menu menu radius box-shadow">
							<li><a href="javascript:;" data-val="default" title="默认（黑色）">默认（黑色）</a></li>
							<li><a href="javascript:;" data-val="blue" title="蓝色">蓝色</a></li>
							<li><a href="javascript:;" data-val="green" title="绿色">绿色</a></li>
							<li><a href="javascript:;" data-val="red" title="红色">红色</a></li>
							<li><a href="javascript:;" data-val="yellow" title="黄色">黄色</a></li>
							<li><a href="javascript:;" data-val="orange" title="橙色">橙色</a></li>
						</ul>
					</li>
				</ul>
			</nav>
		</div>
	</div>
</header>
<aside class="Hui-aside">
	<div class="menu_dropdown bk_2">
		{if condition="($Think.session.admininfo.role_id == 0) OR in_array(1,$adminrulearr)"}
		<dl id="menu-common">
			<dt><i class="Hui-iconfont">&#xe61d;</i>设置管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
			<dd>
				<ul>
					{if condition="($Think.session.admininfo.role_id == 0) OR in_array(1,$adminrulearrs)"}
					<li>
						<a data-href="{:url('common/system_set')}" data-title="设置" href="javascript:void(0)">设置</a>
					</li>
					{/if}
				</ul>
			</dd>
		</dl>
		{/if}
		{if condition="($Think.session.admininfo.role_id == 0) OR in_array(2,$adminrulearr)"}
		<dl id="menu-admin">
			<dt><i class="Hui-iconfont">&#xe62d;</i>管理员管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
			<dd>
				<ul>
					{if condition="($Think.session.admininfo.role_id == 0) OR in_array(2,$adminrulearrs)"}
					<li>
						<a data-href="{:url('adminrole/adminrole_list')}" data-title="角色管理" href="javascript:void(0)">角色管理</a>
					</li>
					{/if}
					{if condition="($Think.session.admininfo.role_id == 0) OR in_array(3,$adminrulearrs)"}
					<li>
						<a data-href="{:url('admin/adminList')}" data-title="管理员列表" href="javascript:void(0)">管理员列表</a>
					</li>
					{/if}
				</ul>
			</dd>
		</dl>
		{/if}
		{if condition="($Think.session.admininfo.role_id == 0) OR in_array(3,$adminrulearr)"}
		<dl id="menu-banner">
			<dt><i class="Hui-iconfont">&#xe646;</i>轮播图管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
			<dd>
				<ul>
					{if condition="($Think.session.admininfo.role_id == 0) OR in_array(4,$adminrulearrs)"}
					<li><a data-href="{:url('banner/banner_list')}" data-title="轮播图列表" href="javascript:;">轮播图列表</a></li>
					{/if}
				</ul>
			</dd>
		</dl>
		{/if}
		{if condition="($Think.session.admininfo.role_id == 0) OR in_array(4,$adminrulearr)"}
		<dl id="menu-product">
			<dt><i class="Hui-iconfont">&#xe620;</i>产品管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
			<dd>
				<ul>
					{if condition="($Think.session.admininfo.role_id == 0) OR in_array(5,$adminrulearrs)"}
					<li><a data-href="{:url('cates/cate_list')}" data-title="产品分类" href="javascript:;">产品分类</a></li>
					{/if}
					{if condition="($Think.session.admininfo.role_id == 0) OR in_array(6,$adminrulearrs)"}
					<li><a data-href="{:url('product/product_list')}" data-title="产品列表" href="javascript:;">产品列表</a></li>
					{/if}
				</ul>
			</dd>
		</dl>
		{/if}
		{if condition="($Think.session.admininfo.role_id == 0) OR in_array(5,$adminrulearr)"}
		<dl id="menu-article">
			<dt><i class="Hui-iconfont">&#xe687;</i>订单管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
			<dd>
				<ul>
					{if condition="($Think.session.admininfo.role_id == 0) OR in_array(7,$adminrulearrs)"}
					<li><a data-href="{:url('orders/orders_lists')}" data-title="订单列表(总)" href="javascript:void(0)">订单列表(总)</a></li>
					{/if}
					{if condition="($Think.session.admininfo.role_id == 0) OR in_array(8,$adminrulearrs)"}
					<li><a data-href="{:url('orders/orders_list')}" data-title="订单列表(分)" href="javascript:void(0)">订单列表(分)</a></li>
					{/if}
				</ul>
			</dd>
		</dl>
		{/if}
		{if condition="($Think.session.admininfo.role_id == 0) OR in_array(6,$adminrulearr)"}
		<dl id="menu-dataany">
			<dt><i class="Hui-iconfont">&#xe6bb;</i>积分商城<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
			<dd>
				<ul>
					{if condition="($Think.session.admininfo.role_id == 0) OR in_array(9,$adminrulearrs)"}
					<li><a data-href="{:url('goods/goods_list')}" data-title="积分产品" href="javascript:void(0)">积分产品</a></li>
					{/if}
					{if condition="($Think.session.admininfo.role_id == 0) OR in_array(10,$adminrulearrs)"}
					<li><a data-href="{:url('goods/order_list')}" data-title="订单列表" href="javascript:void(0)">订单列表</a></li>
					{/if}
				</ul>
			</dd>
		</dl>
		{/if}
		{if condition="($Think.session.admininfo.role_id == 0) OR in_array(7,$adminrulearr)"}
		<dl id="menu-customer">
			<dt><i class="Hui-iconfont">&#xe611;</i>用户管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
			<dd>
				<ul>
					{if condition="($Think.session.admininfo.role_id == 0) OR in_array(11,$adminrulearrs)"}
					<li><a data-href="{:url('member/member_list')}" data-title="用户列表" href="javascript:;">用户列表</a></li>
					{/if}
					{if condition="($Think.session.admininfo.role_id == 0) OR in_array(12,$adminrulearrs)"}
					<li><a data-href="{:url('casein/casein_list')}" data-title="提案列表" href="javascript:;">提案列表</a></li>
					{/if}
				</ul>
			</dd>
		</dl>
		{/if}
	</div>
</aside>
<div class="dislpayArrow hidden-xs"><a class="pngfix" href="javascript:void(0);" onClick="displaynavbar(this)"></a></div>
<section class="Hui-article-box">
	<div id="Hui-tabNav" class="Hui-tabNav hidden-xs">
		<div class="Hui-tabNav-wp">
			<ul id="min_title_list" class="acrossTab cl">
				<li class="active">
					<span title="我的桌面" data-href="{:url('common/system_set')}">我的桌面</span>
					<em></em></li>
			</ul>
		</div>
		<div class="Hui-tabNav-more btn-group"><a id="js-tabNav-prev" class="btn radius btn-default size-S" href="javascript:;"><i class="Hui-iconfont">&#xe6d4;</i></a><a id="js-tabNav-next" class="btn radius btn-default size-S" href="javascript:;"><i class="Hui-iconfont">&#xe6d7;</i></a>
		</div>
	</div>
	<div id="iframe_box" class="Hui-article">
		<div class="show_iframe">
			<div style="display:none" class="loading"></div>
			<iframe scrolling="yes" frameborder="0" src="{:url('common/system_set')}"></iframe>
		</div>
	</div>
</section>

<div class="contextMenu" id="Huiadminmenu">
	<ul>
		<li id="closethis">关闭当前 </li>
		<li id="closeall">关闭全部 </li>
</ul>
</div>
<script type="text/javascript" src="/static/lib/jquery.contextmenu/jquery.contextmenu.r2.js"></script>
{/block}